package com.gaogzhen.service;

import com.gaogzhen.domain.SysPrivilege;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface SysPrivilegeService extends IService<SysPrivilege>{


    /**
     * 获取改菜单下的所有权限
     *
     * @param menuId    菜单id
     * @param roleId    当前角色id
     * @return
     */
    List<SysPrivilege> getPrivileges(Long menuId, Long roleId);
}
